package com.biscuit.page.basicservice.api.model.response.search;

import com.biscuit.common.base.BaseAMO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author biscuit
 * @createTime 2024/6/6 10:48
 */
@Getter
@Setter
public class SearchSuggestAResp extends BaseAMO {

    @ApiModelProperty(value = "搜索日志Id")
    private Long logId;

    @ApiModelProperty(value = "联想词列表")
    private List<SearchSuggestAResp.SuggestAResp> list;


    @Getter
    @Setter
    public static class SuggestAResp extends BaseAMO {

        @ApiModelProperty(value = "联想词")
        private String text;

        @ApiModelProperty(value = "联想词搜索地址")
        private String redirectUrl;

    }

}
